package server.world.item

abstract class Weapon(val weight:Float = 0f, 
                      val damage:Float = 0f , 
                      val critM:Float = 0f, 
                      val critC:Float = 0f, 
                      val acc:Float = 0f, 
                      val apcost:Float = 0f) extends Item with PhysDamage{
}

                           

case class MeleeWeapon() extends Weapon() with OffHand {
name = "a melee weapon"
}

case class TwoHandedMeleeWeapon() extends Weapon with TwoHanded{
name = "tow handed melee weapon"
}
case class RangedWeapon( range:Int = 0, val projectile:Boolean = true, val AmmoT:String = "Arrow") 
extends Weapon with Ranged with TwoHanded{
name = "a ranged weapon"
}